package com.zwh.spring.demo;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.zwh.spring.demo.mapper")
public class Application {
	
//	private static Logger logger = LoggerFactory.getLogger(Application.class);

	public static void main(String[] args) {
		
//		logger.debug("this is debug message.");
//		logger.warn("this is warn message.");
//		logger.info("this is info message.");
//		logger.trace("this is trace message.");
//		logger.error("this is error message");
		
		SpringApplication.run(Application.class, args);
	}
}
